package com.caifu.pojo;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author GZ
 * @since 2020-11-05
 */
public class YlRoom extends Model<YlRoom> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID（房间表）
     */
    @TableId("ROOM_NO")
    private Integer roomNo;

    /**
     * 房间名称（唯一验证，字段唯一）
     */
    @TableField("ROOM_NAME")
    private String roomName;


    /**
     * 房间类型 101:空置 102：其他
     */
    @TableField("ROOM_TYPE")
    private String roomType;

    /**
     * 房间备注信息
     */
    @TableField("ROOM_REMARK")
    private String roomRemark;

    /**
     * 房间状态（1：正常 9：删除）
     */
    @TableField("ROOM_STATE")
    private String roomState;

    /**
     * 楼层编号（关联楼层表）
     */
    @TableField("FLOOR_NO")
    private String floorNo;

    /**
     * 创建时间
     */
    @TableField("CREATE_TIME")
    private String createTime;

    /**
     * 管理员编号
     */
    @TableField("TELLER_NO")
    private String tellerNo;

    public Integer getRoomNo() {
        return roomNo;
    }

    public void setRoomNo(Integer roomNo) {
        this.roomNo = roomNo;
    }
    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    public String getRoomType() {
        return roomType;
    }

    public void setRoomType(String roomType) {
        this.roomType = roomType;
    }
    public String getRoomRemark() {
        return roomRemark;
    }

    public void setRoomRemark(String roomRemark) {
        this.roomRemark = roomRemark;
    }
    public String getRoomState() {
        return roomState;
    }

    public void setRoomState(String roomState) {
        this.roomState = roomState;
    }
    public String getFloorNo() {
        return floorNo;
    }

    public void setFloorNo(String floorNo) {
        this.floorNo = floorNo;
    }
    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
    public String getTellerNo() {
        return tellerNo;
    }

    public void setTellerNo(String tellerNo) {
        this.tellerNo = tellerNo;
    }

    @Override
    protected Serializable pkVal() {
        return this.roomNo;
    }

    @Override
    public String toString() {
        return "YlRoom{" +
        "roomNo=" + roomNo +
        ", roomName=" + roomName +
        ", roomType=" + roomType +
        ", roomRemark=" + roomRemark +
        ", room State=" + roomState +
        ", floorNo=" + floorNo +
        ", createTime=" + createTime +
        ", tellerNo=" + tellerNo +
        "}";
    }
}
